package com.erp.erp_entitys.money.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : BillExchangeInfoRsp
 * @Description : 结汇相关信息出参实体
 * @Author : lst
 * @Date: 2020-12-17 18:56
 */
public class BillExchangeInfoRsp implements Serializable {
    private static final long serialVersionUID = -1287698754894277432L;

    /**
     * 结汇主表id
     */
    private Integer id;

    /**
     * 结汇明细表id
     */
    private Integer detailId;

    /**
     * 发票编号
     */
    private String invoiceNumber;

    /**
     * 金额小计
     */
    private BigDecimal moneySubtotal;

    /**
     * 已拆分金额
     */
    private BigDecimal amountSplit;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public BigDecimal getMoneySubtotal() {
        return moneySubtotal;
    }

    public void setMoneySubtotal(BigDecimal moneySubtotal) {
        this.moneySubtotal = moneySubtotal;
    }

    public BigDecimal getAmountSplit() {
        return amountSplit;
    }

    public void setAmountSplit(BigDecimal amountSplit) {
        this.amountSplit = amountSplit;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BillExchangeInfoRsp").append('[')
                .append("id=")
                .append(id)
                .append(",detailId=")
                .append(detailId)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",moneySubtotal=")
                .append(moneySubtotal)
                .append(",amountSplit=")
                .append(amountSplit)
                .append(']');
        return sb.toString();
    }
}
